import request from "../utils/request";

/**
 * 上传图片素材
 */
export const uploadImage = data =>{
    return request({
        method: 'POST',
        url:'/mp/v1_0/user/image',
        data
    })
}

/**
 * 获取素材列表
 */
 export const getImageList = params =>{
    return request({
        method: 'GET',
        url:'/mp/v1_0/user/images',
        params
    })
}
